package pa14.proj.boundschecker.test;

@SuppressWarnings("unused")
public class TC5_ReinitializedArray {

	public static void main(String[] args) {

		TC5_ReinitializedArray test = new TC5_ReinitializedArray();
		test.reinitarray1();
		test.reinitarray2();
		
	}
	
	public void reinitarray1(){
		int[] x;
		int b;
		
		x = new int[5];
		
		b = x[3];
		
		x = new int[3];
		b = x[3];
	}
	
	public void reinitarray2(){
		int[] x;
		int d;
		
		x = new int[3];
		d = x[3];
		
		x = new int[5];
		d = x[3];
	}

}
